package com.opc.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class HistoryRecordDto implements Serializable {
    private static final long serialVersionUID = -3451347971681028148L;
    @ExcelIgnore
    private Long deviceId;
    @ExcelIgnore
    private String deviceCode;
    @ExcelProperty(index = 0, value = "产线")
    private String productionLine;
    @ExcelProperty(index = 1, value = "工位")
    private String stationNum;
    @ExcelProperty(index = 2, value = "工位名称")
    private String stationName;
    @ExcelProperty(index = 3, value = "易损件名称")
    private String deviceName;
    @ExcelIgnore
    private Long recordId;
    @ExcelProperty(index = 4, value = "重置计数值")
    private Long val;
    @ExcelIgnore
    private Long resetTimes;
    @ExcelProperty(index = 6, value = "重置时间")
    private String resetTime;
    @ExcelIgnore
    private String recordType;
    @ExcelIgnore
    private String setKey;
    @ExcelProperty(index = 5, value = "设置值")
    private Long setVal;
}
